package main

import "fmt"

type Persons struct {
    Id   int
    Name map[string]interface{}
}

func main() {
    var p Persons
    //m := p.Name
    m := make(map[string]interface{}, 2)
    m["a"] = 3
    m["b"] = 3
    m["c"] = 3
    p.Name = m
    ////p.Name := map[string]interface{}{
    //p.Name = {
    ////    "name":      "mike",
    ////    "age":       24,
    ////    "interests": []string{"basketball", "reading", "coding"},
    ////    "isAdmin":   true,
    //}
    //name := p.Name
    //name["a"] = 3
    ////res := len(p.Name)

    fmt.Println((p.Id==0) )
}
//func checkErr(err error) {
//    if err != nil {
//        panic(err)
//    }
//}